#include"CRectangle.h"
#include<conio.h>
int main()
{
	CRectangle *rectb;
	CRectangle *rectc = new CRectangle;
	rectc->setValues(8, 9);
	rectb = rectc;
	cout << "area:" << rectb->area()<<endl;
	cout << "area:" << rectc->area();
	//return 0;
	_getch();
}